
import './index.less';
import {WeaAlertPage} from 'ecCom';
import {Icon} from 'antd';
import { getEveList } from '../../apis/ReportApi';
import {WeaLocaleProvider} from 'ecCom';
const getLabel = WeaLocaleProvider.getLabel;

export default class Main extends React.Component {
	constructor(props) {
		super(props);
	}
	
	render(){
		const {loading = false} = this.props;
		return (
			<div className="crm-report-echart-alert">
				{loading ?
					<WeaAlertPage icon={<Icon type="loading" />}>
						<div className="crm-report-echart-alert-tipinfo">
							{getLabel(31230,"加载中...")}
						</div>
					</WeaAlertPage>
					:
					<WeaAlertPage icon="icon-coms-blank">
						<div className="crm-report-echart-alert-tipinfo">
							{getLabel(83553,"暂无数据")}
						</div>
					</WeaAlertPage>
				}
			</div>
		)
	}
}